#include <iostream>
#include <set>

int const maxn = 10000;
int ans[maxn];
int n;

std::set<int> vis;

int main()
{
    std::cin >> n;
    int t = 2;
    ans[1] = t;
    vis.insert(t);
    for (int i = 2; i <= n; i++) {
        for (int j = 1; j < 3 * (n + 6); j++) {
            if (!vis.count(j)) {
                ans[i] = j;
                vis.insert(j);
                break;
            }
        }
        int sum = ans[i];
        for (int j = i - 1; j >= 1; j--) {
            sum += ans[j];
            vis.insert(sum);
        }
    }
    for (int i = 1; i <= n; i++) std::cout << ans[i] << " ";
    std::cout << "\n";
}

